package org.server.action;

/**
 * @author Admin
 */
public interface ActionCmd {
    /**
     * 管理员操作
     *
     * @author Tang
     * @date 2023/3/30 0:29
     **/
    int ADMIN = 0;
    int ADMIN_KICK = 0;
    int ADMIN_ONLINE = 1;
    int ADMIN_BROADCAST = 2;
    int ADMIN_DEAL = 3;
    /**
     * @author Tang
     * @date 2023/4/19 14:16
     **/
    int POKER = 1;
    int POKER_DEAL = 0;
    int POKER_WIN = 1;
    int POKER_YOUR_TURN = 2;
    int POKER_PLAY = 3;
    int POKER_DECK_NUM = 4;
    //当前回合报的牌
    int POKER_CURRENT_FAKER_CARD = 5;
    /**
     * 房间路由
     *
     * @author Tang
     * @date 2023/2/28 23:36
     **/
    int ROOM = 2;
    int ROOM_CREATE = 0;
    int ROOM_JOIN = 1;
    int ROOM_LEFT = 2;
    int ROOM_READY = 3;
    int ROOM_CANCEL_READY = 4;
    int ROOM_PLAY = 5;
    int ROOM_PASS = 6;
    int ROOM_QUESTION = 7;
    int ROOM_PLAYER_LIST = 8;
    int ROOM_PLAYER_ORDER = 9;
    int ROOM_TIMER_ON = 10;
    int ROOM_TIMER_OFF = 11;
    /**
     * 消息路由
     *
     * @author Tang
     * @date 2023/3/1 10:20
     **/
    int MSG = 3;
    int MSG_BROADCAST = 0;
    /**
     * 登陆路由
     *
     * @author Tang
     * @date 2023/3/1 10:57
     **/
    int LOG = 4;
    int LOG_LOGIN = 0;
    int LOG_IDLE = 1;
}
